<template>
	
	<view class="u-margin-top-40">
		<navigator url="/pages/mall/people">
			<view class="add-btn u-flex u-flex-center u-flex-grow">
				<u-icon name="plus" color="#4A9BF7"></u-icon>
				<text class="u-margin-left-10">新增</text>
			</view>
		</navigator>
	</view>
	
	<view class="peoples u-padding-top-40 u-padding-bottom-40">
	
		<view class="" v-for="(item,index) in peopleList" :key="index">
			<view class="one-item u-flex u-flex-between align-center u-margin-30">
				 <view class="u-margin-right-40">
				 	<u-icon name="trash-fill" @click="removePeople(item.id)" color="#E83600"
				 		size="18"></u-icon>
				 </view>
				<view class="u-margin-right-40">
					<navigator :url="'/pages/mall/people?id='+item.id">
						<u-icon name="edit-pen"  color="#4A9BF8" size="18"></u-icon>
					</navigator>
				</view>
				<view class="center u-flex-grow font-size14">
					<view class="name">							
						<text class="font-weight">{{item.name}}</text>							
					</view>
					<view class="u-margin-top-15">
						<text class="">手机号</text>
						<text class="color-gray u-margin-left-10">{{item.mobile}}</text>
					</view>
					<!-- <view class="card u-margin-top-15">
						<text>身份证</text>
						<text class="color-gray u-margin-left-10"> {{item.identity}}</text>
					</view> -->
				</view>
				
				<view class="check">
					<up-radio-group v-model="radioValue" @change="radioChange">
						<u-radio label="" :key="item.id" :name="item.id"></u-radio>
					</up-radio-group>
				</view>
			</view>
			<view class="line-border "> </view>
		</view>
	
	
	</view>
	
	<up-modal :show="delModalShow" :showCancelButton="true" 
	title="操作提示" @cancel="delModalShow = false"
	 @confirm="confDel">
		<view class="slot-content">
			<rich-text :nodes="'确定要删除此出行人吗？'"></rich-text>
		</view>
	</up-modal> 
</template>

<script>
	/*这个组件是add-people的备份，暂时不用了*/
</script>

<style>
</style>